<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th class="text-center"><div class="table-first-id">ID</div></th>
            <th class="text-center" width="30%">名称</th>
            <th class="text-center" width="20%">库存</th>
            <th class="text-center" width="10%">发放数</th>
            <th class="text-center" width="20%">创建时间</th>
        </tr>
    </table>
    <div class="J_V_tabContent table-xScrollWrap">
        <table class="table table-bordered table-hover table-xs-content">
            <tbody>
            <tr class="jqgfirstrow" role="row">
                <td class="text-center"><div class="table-first-id">&nbsp;</div></td>
                <th class="text-center" width="30%"></th>
                <th class="text-center" width="20%"></th>
                <th class="text-center" width="10%"></th>
                <th class="text-center" width="20%"></th>
            </tr>
            <tr th:if="${#lists.isEmpty(dataMap['list'])}">
                <td colspan="10" class="text-center">
                    <div class="noDataTipsBox">
                        <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                    </div>
                </td>
            </tr>
            <tr th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="entity : ${dataMap['list']}" th:attrappend="id='entity-open-'+${entity['id']}">
                <td class="text-center">
                    <input type="radio" class="i-checks" name="id" th:attrappend="data-name=${entity['name']},data-num=${entity['inventory']}" th:value="${entity['id']}" />
                </td>
                <td class="text-center" th:text="${entity['name']}"> </td>
                <td class="text-center" th:text="${entity['inventory']}">
                </td>
                <td class="text-center" th:text="${entity['theNumber']}">
                </td>
                <td class="text-center" th:text="${entity['createTime']}">
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>
</html>
